package com.hx.springboot1.service.impl;

import com.hx.springboot1.dao.CollegeDao;
import com.hx.springboot1.pojo.entity.TabCollege;
import com.hx.springboot1.service.CollegeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Author: hx
 * Date: 2021-05-23 11/33
 * Description: Nothing else
 */
@Service
public class CollegeServiceImpl implements CollegeService {
    @Autowired
    CollegeDao collegeDao;
    @Override
    public List<TabCollege> selectAllCollege() {
        return collegeDao.selectAllCollege();
    }
}
